<h1>Listing generations</h1>

<table>
  <tr>
    <th>Project</th>
    <th>Start time</th>
    <th>End time</th>
    <th>Update duration</th>
    <th>Data collection duration</th>
    <th>Rendering duration</th>
    <th>Generator</th>
    <th>Complete</th>
  </tr>

<% for generation in @generations %>
  <tr>
    <td><%=h generation.project_id %></td>
    <td><%=h generation.start_time %></td>
    <td><%=h generation.end_time %></td>
    <td><%=h generation.update_duration %></td>
    <td><%=h generation.data_collection_duration %></td>
    <td><%=h generation.rendering_duration %></td>
    <td><%=h generation.generator_id %></td>
    <td><%=h generation.complete %></td>
    <td><%= link_to 'Show', generation %></td>
    <td><%= link_to 'Edit', edit_generation_path(generation) %></td>
    <td><%= link_to 'Destroy', generation, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New generation', new_generation_path %>
